package com.example.schedulecard.Entity;

import java.io.Serializable;

public class Schedule implements Serializable {
    private String schedulename;
    private Integer worksum;

    public Schedule(){}
    public Schedule(String schedulename){
        this.schedulename = schedulename;
    }

    public Schedule(String schedulename, Integer worksum) {
        this.schedulename = schedulename;
        this.worksum = worksum;
    }

    public String getSchedulename() {
        return schedulename;
    }
    public void setSchedulename(String schedulename) {
        this.schedulename = schedulename;
    }

    public Integer getWorksum() {
        return worksum;
    }

    public void setWorksum(Integer worksum) {
        this.worksum = worksum;
    }

    @Override
    public String toString() {
        return "Schedule{" +
                "schedulename='" + schedulename + '\'' +
                ", worksum=" + worksum +
                '}';
    }
}
